<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_modules_featured_products.php 2935 2006-02-01 11:12:40Z birdbrain $
 */
  $zc_show_featured = false;
  include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_FEATURED_PRODUCTS_MODULE));
?>

<!-- bof: featured products  -->
<?php if ($zc_show_featured == true) { ?>
<div class="centerBoxWrapper carousel-wrapper">
<?php if ($title) { echo $title; } ?> 
<div class="featured-carousel-nav carousel-nav"></div> 
<div id="featuredProducts">
<ul class="slides">
<?php
/**
 * require the list_box_content template to display the product
 */
  require($template->get_template_dir('tpl_columnar_display_index.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display_index.php');
?>
</ul>
</div>
</div>
<script type="text/javascript"><!--
$(window).load(function() {
	$('#featuredProducts').flexslider({
		namespace: "grey-",
		slideshow: false,
		animation: "slide",
	    animationLoop: false,
		pauseOnHover: true,
        controlNav: false,
 		prevText: '<i class="icon-angle-left"></i>',
 		nextText: '<i class="icon-angle-right"></i>',
        controlsContainer: ".featured-carousel-nav",
		manualControls: ".featured-carousel-wrapper",
		itemWidth: 188
	});
});
--></script>
<?php } ?>
<!-- eof: featured products  -->
